package com.easyweb.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.easyweb.model.Album;

@Service
public interface AlbumService {
	
public int insertAlbum(Album album);
	
	public int deleteAlbumById(Map<String, Object> map);
	
	public int updateAlbum(Album album);
	
	public List<Album> getAlbums(Map<String, Object> map);
	/**
	 * 用于首页展示
	 * @param map
	 * @return
	 */
	public Album getAlbumById(Map<String, Object> map);
}
